<+b_dialog dw=$(prefPShowCustomMenuWidth) dialog_title="Customize Menu" dialog_nogroup=1 >
<assign tabMenu=1>
<assign previewHeight=@prefPShowCustomMenuPreviewHeight>
<assign previewWidth=@prefPShowCustomMenuPreviewWidth>
<assign listWidth=@prefPShowCustomMenuListWidth>
<assign dwi=#dw-@prefPShowCustomMenuListWidth-25>
<assign bw=#dwi>
<assign lw=#dwi-#previewWidth-10>


<img src=images/button_previous.png save=previous>
<img src=images/button_next.png save=next>
<img src=images/button_up.png save=up>
<img src=images/button_down.png save=down>
<img src=images/button_add.png save=add>
<img src=images/button_delete.png save=delete>
<img src=images/button_configure.png save=options>

<img width=2 height=32  bgcolor=#colorShadow save=tabSpace>
<img src=#tabSpace i_rectleft=1 i_rectbottom=30 i_rectcolor=#colorHighlight save=tabSpace>
<img src=#tabSpace i_recttop=31 i_rectcolor=#colorHighlight save=tabSpace>

<img width=2 height=32  bgcolor=#colorShadow save=tabSpaceA>
<img src=#tabSpaceA i_rectleft=1 i_rectbottom=32 i_rectcolor=#colorHighlight save=tabSpaceA>
<img src=#tabSpaceA i_recttop=31 i_rectcolor=#colorHighlight save=tabSpaceA>


<#if prefPShowCustomMenuWidth==1000>  <!-- 1024 x 768 -->
	<assign bw=#dwi>
	<assign previewHeight=261>
	<assign previewWidth=464>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=250>
		<assign secondListHeight=284>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=250>
		<assign secondListHeight=284>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=250>
		<assign secondListHeight=308>
	<#else>
		<assign pagesHeight=593>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==1200>  <!-- 1280 x 768 -->
	<assign bw=#dwi>
	<assign previewHeight=261>
	<assign previewWidth=464>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=250>
		<assign secondListHeight=284>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=250>
		<assign secondListHeight=284>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=250>
		<assign secondListHeight=308>
	<#else>
		<assign pagesHeight=593>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==1256>  <!-- 1280 x 960 -->
	<assign bw=#dwi>
	<assign previewHeight=333>
	<assign previewWidth=592>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=390>
		<assign secondListHeight=327>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=390>
		<assign secondListHeight=327>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=390>
		<assign secondListHeight=348>
	<#else>
		<assign pagesHeight=776>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==1416>  <!-- 1440 x 900 -->
	<assign bw=#dwi>
	<assign previewHeight=378>
	<assign previewWidth=672>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=309>
		<assign secondListHeight=343>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=309>
		<assign secondListHeight=343>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=309>
		<assign secondListHeight=367>
	<#else>
		<assign pagesHeight=711>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==1376>  <!-- 1400 x 1050 -->
	<assign bw=#dwi>
	<assign previewHeight=405>
	<assign previewWidth=720>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=400>
		<assign secondListHeight=406>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=400>
		<assign secondListHeight=406>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=400>
		<assign secondListHeight=427>
	<#else>
		<assign pagesHeight=866>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==1500>  <!-- 1600 x 1000 -->
	<assign previewHeight=504>
	<assign previewWidth=896>
	<assign bw=#previewWidth+3>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=386>
		<assign secondListHeight=392>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=386>
		<assign secondListHeight=392>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=386>
		<assign secondListHeight=413>
	<#else>
		<assign pagesHeight=838>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==1600>  <!-- 1680 x 1050 -->
	<assign previewHeight=531>
	<assign previewWidth=944>
	<assign bw=#previewWidth+3>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=400>
		<assign secondListHeight=406>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=400>
		<assign secondListHeight=406>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=400>
		<assign secondListHeight=427>
	<#else>
		<assign pagesHeight=866>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==1576>  <!-- 1600 x 1200 -->
	<assign previewHeight=495>
	<assign previewWidth=880>
	<assign bw=#previewWidth+3>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=463>
		<assign secondListHeight=469>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=463>
		<assign secondListHeight=469>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=463>
		<assign secondListHeight=493>
	<#else>
		<assign pagesHeight=992>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==1800>
	<assign previewHeight=558>
	<assign previewWidth=992>
	<assign bw=#previewWidth+3>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=413>
		<assign secondListHeight=419>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=413>
		<assign secondListHeight=419>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=413>
		<assign secondListHeight=440>
	<#else>
		<assign pagesHeight=892>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==2024>  <!-- 2048 x 1536 -->
	<assign previewHeight=756>
	<assign previewWidth=1344>
	<assign bw=#previewWidth+3>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=512>
		<assign secondListHeight=518>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=512>
		<assign secondListHeight=518>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=512>
		<assign secondListHeight=542>
	<#else>
		<assign pagesHeight=1090>
		<assign secondListHeight=350>
	<#endif>
<#elseif prefPShowCustomMenuWidth==2440>  <!-- 2560 x 1440 -->
	<assign previewHeight=756>
	<assign previewWidth=1344>
	<assign bw=#previewWidth+3>
	<#if prefPShowTabMenuCust==3>
		<assign pagesHeight=512>
		<assign secondListHeight=518>
	<#elseif prefPShowTabMenuCust==4>
		<assign pagesHeight=512>
		<assign secondListHeight=518>
	<#elseif prefPShowTabMenuCust==5>
		<assign pagesHeight=512>
		<assign secondListHeight=542>
	<#else>
		<assign pagesHeight=1090>
		<assign secondListHeight=350>
	<#endif>
<#endif>

<img src=images/button_add_layer.png save=addLayer>
<img width=#addLayer height=#addLayer bgcolor=#colorDialogText save=addLayerFill>
<img src=images/button_trash.png save=trash>
<img src=images/button_up_simple.png save=upSimple>
<img src=images/button_down_simple.png save=downSimple>
<img src=images/button_window.png save=window>

<assign tabWidth=140>

<table>
<tr>
	<td width=#listWidth bgcolor=#colorList>
			<table>
			<tr>
				<td>
					<img height=#ds><br>
					<img width=#ds>	
					<table>
					<tr>
						<td width=#ds></td>
						<td><input type=label name=menuNum height=20 width=#listWidth-68 textsize=20 bgcolor=#colorList textcolor=#colorListText></td>
						<td>
							<input type=button name=prev toolbar=1 width=30 height=20 xpar=#previous grayxpar=#previous  img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorGroupIconGrey bgcolor=#colorList nofade=1 alt="Next Page\nJump to the next menu page.">
							<input type=button name=next toolbar=1 width=30 height=20 xpar=#next grayxpar=#next img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorGroupIconGrey bgcolor=#colorList nofade=1 alt="Previous Page\nJump to the previous menu page.">
						</td>
					</tr>
					</table>

					<img height=#ds>
				</td>
			</tr>
			<tr>
				<td height=25 bgcolor=#colorToolbar>
					<table>
					<tr>
						<td width=#listWidth>
							<table>
							<tr>
								<td width=#listWidth-60 align=left>
									<img height=2><br>
									<input type=button name=addPage toolbar=1 width=45 height=20 xpar=#addLayer  grayxpar=#addLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Add Caption\nAdd a new caption to this slide.\n(Ctrl+Shift+C)" ascent=20>
								</td>
								<td>
									<img height=2><br>
									<input type=button name=deletePage toolbar=1 width=30 height=20 xpar=#trash  grayxpar=#trash img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Remove Caption\nDelete the selected caption." ascent=20>
								</td>
								<td>
									<img height=2><br>
									<input type=button name=pageLeft toolbar=1 width=30 height=10 xpar=#upSimple  grayxpar=#upSimple img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Move Up\nMove the selected caption up in the list."><br>
									<input type=button name=pageRight toolbar=1 width=30 height=10 xpar=#downSimple  grayxpar=#downSimple img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Move Down\nMove the selected caption down in the list.">
								</td>
							</tr>
							</table>
						</td>
					</tr>
					</table>
				</td>
			</tr>
			<tr><td height=1 bgcolor=#colorList><img width=1 height=1></td></tr>				
			<tr>
				<td bgcolor=#colorList>
					<input type=listbox singleSel=1 name=pageList width=#listWidth height=#pagesHeight ownerdraw=1>
				</td>
			</tr>
			</table>
<#if prefPShowTabMenuCust==3>	
			<table>
			<tr>
				<td>
					<img height=#ds><br>
					<img width=#ds><font size=+1 color=#colorListText>Layers on Page</font><br>
					<img height=#ds>
				</td>
			</tr>
			<tr>
				<td height=25 bgcolor=#colorToolbar>
					<table>
					<tr>
						<td width=#listWidth>
							<table>
							<tr>
								<td width=#listWidth-60 align=left>
									<img height=2><br>
									<input type=button name=objectAdd toolbar=1 width=45 height=20 xpar=#addLayer  grayxpar=#addLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Add Caption\nAdd a new caption to this slide.\n(Ctrl+Shift+C)" ascent=20>
								</td>
								<td>
									<img height=2><br>
									<input type=button name=objectDel toolbar=1 width=30 height=20 xpar=#trash  grayxpar=#trash img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Remove Caption\nDelete the selected caption." ascent=20>
								</td>
								<td>
									<img height=2><br>
									<input type=button name=objectUp toolbar=1 width=30 height=10 xpar=#upSimple  grayxpar=#upSimple img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Move Up\nMove the selected caption up in the list."><br>
									<input type=button name=objectDown toolbar=1 width=30 height=10 xpar=#downSimple  grayxpar=#downSimple img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Move Down\nMove the selected caption down in the list.">
								</td>
							</tr>
							</table>
						</td>
					</tr>
					</table>
				</td>
			</tr>
			<tr><td height=1 bgcolor=#colorList><img width=1 height=1></td></tr>				
			<tr>
				<td bgcolor=#colorList>
					<input type=listbox singleSel=1 name=imageList width=#listWidth height=#secondListHeight ownerdraw=1>
				</td>
			</tr>
			</table>
<#endif>
<#if prefPShowTabMenuCust==4>	
			<table>
			<tr>
				<td>
					<img height=#ds><br>
					<img width=#ds><font size=+1 color=#colorListText>Captions on Page</font><br>
					<img height=#ds>
				</td>
			</tr>
			<tr>
				<td height=25 bgcolor=#colorToolbar>
					<table>
					<tr>
						<td width=#listWidth>
							<table>
							<tr>
								<td width=#listWidth-60 align=left>
									<img height=2><br>
									<input type=button name=captionAdd toolbar=1 width=45 height=20 xpar=#addLayer  grayxpar=#addLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Add Caption\nAdd a new caption to this slide.\n(Ctrl+Shift+C)" ascent=20>
								</td>
								<td>
									<img height=2><br>
									<input type=button name=captionDel toolbar=1 width=30 height=20 xpar=#trash  grayxpar=#trash img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Remove Caption\nDelete the selected caption." ascent=20>
								</td>
								<td>
									<img height=2><br>
									<input type=button name=captionUp toolbar=1 width=30 height=10 xpar=#upSimple  grayxpar=#upSimple img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Move Up\nMove the selected caption up in the list."><br>
									<input type=button name=captionDown toolbar=1 width=30 height=10 xpar=#downSimple  grayxpar=#downSimple img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Move Down\nMove the selected caption down in the list.">
								</td>
							</tr>
							</table>
						</td>
					</tr>
					</table>
				</td>
			</tr>
			<tr><td height=1 bgcolor=#colorList><img width=1 height=1></td></tr>				
			<tr>
				<td bgcolor=#colorList>
					<input type=listbox singleSel=1 name=captionList width=#listWidth height=#secondListHeight ownerdraw=1>
				</td>
			</tr>
			</table>
<#endif>
<#if prefPShowTabMenuCust==5>	
			<table>
			<tr>
				<td>
					<img height=#ds><br>
					<img width=#ds><font size=+1 color=#colorListText>Objects on Page</font><br>
					<img height=#ds>
				</td>
			</tr>
			<tr><td height=1 bgcolor=#colorList><img width=1 height=1></td></tr>				
			<tr>
				<td bgcolor=#colorList>
					<input type=listbox singleSel=1 name=objectList width=#listWidth height=#secondListHeight ownerdraw=1>
				</td>
			</tr>
			</table>
<#endif>
		
	</td>
	<td width=1 bgcolor=#colorFrame></td>
	<td width=#ds></td>
	<td bgcolor=#colorDialog>
		<table>
		<tr>
			<td width=8 bgcolor=#colorDialog></td>
			<td width=#dw-8 bgcolor=#colorDialog height=32>
				<img height=#ds>
				<+tabs>
			</td>
		</tr>
		</table>